package com.asset.admin.business.bill.biz.impl;

import com.asset.admin.business.bill.biz.ISysBillBiz;
import com.asset.bill.dao.entity.BillEntity;
import com.asset.bill.form.BillForm;
import com.asset.bill.form.BillQueryForm;
import com.asset.bill.service.IBillService;
import com.asset.common.pageform.PageForm;
import com.asset.common.result.ResultMsg;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class SysBillBizImpl implements ISysBillBiz {

    @Resource
    private IBillService billService;


    @Override
    public PageForm getBillList(BillQueryForm queyForm) {
        return billService.getBillList(queyForm);
    }

    @Override
    public ResultMsg updateBill(BillForm billForm) {
        return billService.updateBill(billForm);
    }

    @Override
    public ResultMsg deleteById(Long billId) {
        return billService.deleteById(billId);
    }

    @Override
    public BillEntity getBillById(Long billId) {
        return billService.getBillById(billId);
    }
}
